Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Fix the windows build artifacts name #6351

Closed
wants to merge 1 commit into from

Conversation

dsmello
Copy link
Contributor

@dsmello dsmello commented Sep 25, 2024

Motivation

Fix the windows build output

Description

Add on the Makefile-libs.Inc the EXE := .exe
If the GOOS is equal to windows will force the value of EXE = .exe

Test Plan

Check on the release if the .exe was added on the artifacts.
I tested the behavior on other Github Repo.

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

- If the GOOS is equal to windows will force the value of EXE = .exe
- Fix the  windows build output
@fasmat
Copy link
Member

fasmat commented Sep 25, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Sep 25, 2024
## Motivation

Fix the  windows build output
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.7%. Comparing base (94db9f8) to head (376943b).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #6351   +/-   ##
=======================================
  Coverage     81.7%   81.7%           
=======================================
  Files          312     312           
  Lines        34657   34657           
=======================================
+ Hits         28328   28348   +20     
+ Misses        4492    4475   -17     
+ Partials      1837    1834    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@spacemesh-bors
Copy link

Build failed:

@fasmat
Copy link
Member

fasmat commented Sep 25, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Sep 25, 2024
## Motivation

Fix the  windows build output
@@ -27,6 +27,7 @@ ifeq ($(GOOS),windows)
platform := windows
export PATH := $(PATH):$(BIN_DIR)
CGO_LDFLAGS := $(CGO_LDFLAGS) -Wl,-Bstatic -lpthread -Wl,-Bdynamic
EXE := .exe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this from this file because it was not used anywhere and I didn't notice it's used in the Makefile that includes it. For this reason, in my opinion, EXE should be defined in the Makefile which uses it, not in this one.

@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Fix the windows build artifacts name [Merged by Bors] - Fix the windows build artifacts name Sep 25, 2024
@spacemesh-bors spacemesh-bors bot closed this Sep 25, 2024
@spacemesh-bors spacemesh-bors bot deleted the devops/fix-the-windows-behavior branch September 25, 2024 13:19
@fasmat fasmat mentioned this pull request Sep 25, 2024
4 tasks
spacemesh-bors bot pushed a commit that referenced this pull request Sep 25, 2024
## Motivation

Follow up for #6351: variables used in the makefile should be defined where they are used if possible. Specifically I moved `EXE` and `ULIMIT` from `Makefile-libs.Inc` to `Makefile`.
spacemesh-bors bot pushed a commit that referenced this pull request Sep 25, 2024
## Motivation

Follow up for #6351: variables used in the makefile should be defined where they are used if possible. Specifically I moved `EXE` and `ULIMIT` from `Makefile-libs.Inc` to `Makefile`.
spacemesh-bors bot pushed a commit that referenced this pull request Sep 25, 2024
## Motivation

Follow up for #6351: variables used in the makefile should be defined where they are used if possible. Specifically I moved `EXE` and `ULIMIT` from `Makefile-libs.Inc` to `Makefile`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants